Commit Graph

37 Commits

Author SHA1 Message Date
lloyd konneker 8d75b752c0 ScriptFu: oops missing file in POTFILE.in for !658 2022-06-26 09:06:59 +00:00
Niels De Graef f663d26ab5 Migrate from intltool to gettext
intltool has long been dead upstream. Let's not poke the dead corpse,
please.

This commit is quite large, but that's mostly since trying to support a
hybrid of both gettext and intltool with both Meson and Autotools was
really hard, so I stopped trying.

Due to gettext relying on quite some things being at the exactly right
place in the autotools build (like `ABOUT-NLS` and `config.rpath`) we
really needed to cleanup the `autogen.sh` to only call `aclocal` and
`autoreconf`. No more strange magic; I tried to do it without changing
too much in the file, and things just broke. If people want to do
something more custom, they can just change the script directly. This
change also uncovered some problems in our `configure.ac`, like using
deprecated macros.

The following major changes happened:

* meson: Changed `custom_target()` to `i18n.merge_file()` for all
  supported file types
* Added `.its` and `.loc`  files for the GIMP-specific XML formats, so
  that gettext understands them
* For the `.isl` (Window installer stuff) file, there's no easy way to
  do this in gettext, so instead we start from an XML file (again with
  its own ITS rules etc), translate that with gettext, and then use
  `xsltproc` with a bit of magic to output the .isl file for each
  language
* the `po*/Makefile.in.in` files are migrated to `Makevars` files,
  which gettext natively understands.

Fixes: https://gitlab.gnome.org/GNOME/gimp/-/issues/8028
2022-06-25 10:25:49 +02:00
lloyd konneker 07ceb5a086 ScriptFu: extract PDB proc script-fu-server from plugin script-fu
Create new plugin file script-fu-server-plugin.c
with code extracted from script-fu.c, which is an omnibus plugin
implementing PDB proc extension-script-fu and other PDB procs.

Why:

1. extension-script-fu is smaller and doesn't doesn't link to socket libraries.
   (GIMP always starts extension-script-fu and it stays running.)

2. packagers/admins can omit script-fu-server executable from an installation,
   if they think letting users serve net ports is not secure.

3. crashing script-fu-server does not crash extension-script-fu,
   which requires restart of GIMP

The changes are mostly a simple refactor, extracting code.
No functional change apparent to users.
Low risk of introduced bugs.
Extremely few users use script-fu-server anyway.
Added some logging.
While at it, use G_DECLARE_FINAL_TYPE
2022-06-19 19:18:39 +00:00
lloyd konneker 5cc3becf16 ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu
Changes are mostly to the dir structures and build system for ScriptFu.
Some changes to the outer plugin source to call the library.

Why: so that other executables (future gimp-scheme-interpreter,
or a future separated script-fu-server) can exist in separate directories,
and share the library in memory (when built shared.)

Whether the library is built shared and installed on its own
(versus static and not installed)
is a compile time option (both automake LibTool and meson abstract it away)
The default is shared and installed, say as libgimp-scriptfu-3.0.so.

Installed alongside other shared libraries (e.g. wherever libgimp is installed)
to simplify packaging.

A preliminary refactoring which helps enable MR gimp!647
2022-06-11 08:58:30 -04:00
Jehan ed3bcf248e plug-ins: remove old spyrogimp.
Spyrogimp has been rewritten in Python with more features.

Note: this commit should not be backported to gimp-2-10 since we will
keep the old plug-in around (in case its API is used by older scripts in
particular). But let's turn over a new leaf with future GIMP 3 and only
keep the new plug-in.
2019-03-18 15:53:04 +01:00
Piotr Drąg 047ca612f5 Updated POTFILES.in 2012-05-07 17:57:07 +02:00
Piotr Drąg 0e9ed614c3 Updated POTFILES.in 2012-02-09 22:13:24 +01:00
Alexandre Prokoudine 78f3a9e78a Added palette-export.scm to the list of translatable scripts 2010-04-20 00:11:54 +04:00
Sven Neumann 799a7fc5a8 script-fu: drop gimp.org header and label scripts
These scripts used to be used to create graphics for the old gimp.org
web-page that has long been redone several times. There is no point in
distributing these scripts any longer.
2010-02-03 20:54:04 +01:00
Sven Neumann 48baf2dd47 plug-ins/script-fu/scripts/Makefile.am renamed from web-browser.scm.
2008-10-29  Sven Neumann  <sven@gimp.org>

        * plug-ins/script-fu/scripts/Makefile.am
        * plug-ins/script-fu/scripts/gimp-online.scm: renamed from
        web-browser.scm.


svn path=/trunk/; revision=27457
2008-10-29 12:05:56 +00:00
Sven Neumann bf1c783f44 plug-ins/script-fu/Makefile.am new files split out of
2008-08-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/script-fu-eval.[ch]: new files split out of
	script-fu-console.c[ch].

	* plug-ins/script-fu/script-fu-text-console.h: fixed comment.

	* plug-ins/script-fu/script-fu-console.[ch]: removed 
script-fu-eval
	procedure here.

	* plug-ins/script-fu/script-fu.c: changed accordingly.


svn path=/trunk/; revision=26698
2008-08-21 14:48:29 +00:00
Sven Neumann 97f281a9c3 plug-ins/script-fu/scripts/Makefile.am dropped the "Starburst" logo
2008-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/starburst-logo.scm: dropped the
	"Starburst" logo script. Fixes bug #486779.


svn path=/trunk/; revision=26621
2008-08-17 14:42:11 +00:00
Sven Neumann dc11be31bb plug-ins/script-fu/scripts/Makefile.am removed Sphere script. It's a nice
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/sphere.scm: removed Sphere
	script. It's a nice simple example but it has no real value.

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed "<Toolbox>/Xtns/Misc".

svn path=/trunk/; revision=25424
2008-04-09 09:00:20 +00:00
Sven Neumann 9a740afcb2 removed this script. Fixes bug #491311.
2007-11-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am (scripts):
	* plug-ins/script-fu/scripts/hsv-graph.scm: removed this script.
	Fixes bug #491311.

svn path=/trunk/; revision=24030
2007-11-01 17:30:38 +00:00
Sven Neumann e05f208e62 plug-ins/script-fu/scripts/Makefile.am removed fade-outline script. Fixes
2007-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/fade-outline.scm: removed
	fade-outline script. Fixes bug #466382.


svn path=/trunk/; revision=23262
2007-08-14 22:40:16 +00:00
Sven Neumann 147cb67322 plug-ins/script-fu/scripts/selection-round.scm unmarked strings for
2007-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm
	* plug-ins/script-fu/scripts/copy-visible.scm: unmarked strings for
	translation.

2007-05-16  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: removed copy-visible.scm.

	* de.po: fixed incorrect translation.

svn path=/trunk/; revision=22511
2007-05-16 16:28:04 +00:00
Sven Neumann 32d6d421c6 added missing ellipsis to menu label and fixed default fonts.
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/contactsheet.scm: added missing
	ellipsis to menu label and fixed default fonts.


svn path=/trunk/; revision=22415
2007-05-04 14:42:27 +00:00
Michael Natterer b032bdb436 add reverse-layers.scm
2007-03-15  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: add reverse-layers.scm


svn path=/trunk/; revision=22126
2007-03-15 11:09:24 +00:00
Michael Natterer 65d7a72639 specify encoding (bug #389201).
2007-01-04  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: specify encoding (bug #389201).


svn path=/trunk/; revision=21640
2007-01-04 10:12:37 +00:00
Sven Neumann ec43fe20d6 plug-ins/script-fu/scripts/Makefile.am added new script "Difference
2006-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/difference-clouds.scm: added new script
	"Difference Clouds" written by Martin Nordholts (bug #363458).
2006-10-25 13:30:41 +00:00
Sven Neumann 422d920977 removed test-sphere.scm.
2006-09-17  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: removed test-sphere.scm.
2006-09-17 13:43:45 +00:00
Michael Natterer 1ecb173f7e added paste-as-brush.scm and paste-as-pattern.scm
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added paste-as-brush.scm and paste-as-pattern.scm
2005-09-25 21:39:18 +00:00
Adam Weinberger d1c9660dec Removed missing files.
2005-08-03  Adam Weinberger  <adamw@gnome.org>

	* POTFILES.in: Removed missing files.
2005-08-03 05:47:29 +00:00
Sven Neumann 8ca802b3c2 plug-ins/script-fu/scripts/Makefile.am removed this script (see bug
2005-07-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/image-structure.scm: removed this
	script (see bug #307016).
2005-07-30 00:45:53 +00:00
Sven Neumann 02d2a673c9 plug-ins/script-fu/scripts/Makefile.am removed this script as it is broken
2004-12-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/asc2img.scm: removed this script as it
	is broken beyond repair and the functionality is provided by the
	text tool itself.
2004-12-22 16:21:17 +00:00
Michael Natterer 0689802457 added the new guides scripts.
2004-10-13  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added the new guides scripts.
2004-10-13 13:03:29 +00:00
Sven Neumann efc2187e80 updated for dbbrowser changes 2004-09-30 18:15:09 +00:00
Sven Neumann c6dd571113 removed the hardcoded preview size, removed some redundant assertions.
2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.c: removed the hardcoded preview size,
	removed some redundant assertions.
2004-08-31 18:06:36 +00:00
Henrik Brix Andersen b10c0ff91b added missing plug-ins/script-fu/scripts/select-to-pattern.scm (fixes bug
2004-01-20 Henrik Brix Andersen <brix@gimp.org>

* POTFILES.in: added missing
plug-ins/script-fu/scripts/select-to-pattern.scm (fixes bug
#132029)
2004-01-20 21:10:30 +00:00
Henrik Brix Andersen 9b3bc08eb6 Replaced the netscape-dependent web browser plug-in with a user
2003-09-22 Henrik Brix Andersen <brix@gimp.org>

Replaced the netscape-dependent web browser plug-in with a user
configureable plug-in. This fixes bug #119120:

* app/config/gimpguiconfig.[ch]: added gchar *web_browser member

* app/config/gimprc-blurbs.h: added web browser blurb

* etc/gimprc
* docs/gimprc-1.3.5.in: regenerated using gimpconfig-dump

* app/gui/preferences-dialog.c (prefs_dialog_new): added UI for
specifying external web browser

* configure.in
* plug-ins/Makefile.am
* plug-ins/webbrowser/Makefile.am
* plug-ins/webbrowser/README
* plug-ins/webbrowser/web-browser.scm
* plug-ins/webbrowser/webbrowser.c : removed the old netscape-dependent
web browser plug-in

* po-plug-ins/POTFILES.in
* plug-ins/common/plugin-defs.pl
* plug-ins/common/webbrowser.c: added a new web browser plug-in

* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am: regenerated

* app/widgets/gimphelp.c
* app/widgets/widget-enums.[ch]
* plug-ins/helpbrowser/dialog.c
* plug-ins/maze/maze_face.c: changed accordingly + whitespace
clean-up

* po-script-fu/POTFILES.in
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/web-browser.scm: use the new web
browser plug-in to add menu entries to <Toolbox>/Help/
2003-09-22 20:04:39 +00:00
Sven Neumann 7ecebde9a0 plug-ins/script-fu/scripts/Makefile.am
2003-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/spyrogimp.scm
	* plug-ins/script-fu/scripts/trochoid.scm: replaced Trochoid
	script with the more advanced Spyrogimp (bug #115290).

	* plug-ins/script-fu/scripts/grid-system.scm: renamed menu entry.
2003-06-24 11:08:39 +00:00
Kwok-Koon Cheung bf459e8e2d Add missing files to POTFILES.in/skip 2003-06-08 09:24:59 +00:00
Sven Neumann d95b6181da removed plug-ins/gap/sel-to-anim-img.scm.
2003-04-12  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: removed plug-ins/gap/sel-to-anim-img.scm.

	* de.po: updated.
2003-04-12 12:50:13 +00:00
Sven Neumann 0a353cb3d7 fixed typo.
2003-02-18  Sven Neumann  <sven@gimp.org>

        * plug-ins/script-fu/scripts/ripply-anim.scm: fixed typo.
2003-02-18 00:01:55 +00:00
Sven Neumann ff3e8be76d *** empty log message *** 2002-03-26 14:30:16 +00:00
Sven Neumann 9ce6315174 merged Raphaels patch for bug #51114 from the stable branch.
2001-10-24  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c: merged Raphaels patch for bug #51114 from the
	stable branch.

	* plug-ins/common/grid.c: merged the fix for indexed images from the
	stable branch.
2001-10-24 17:34:44 +00:00
Sven Neumann 2b077e0958 Script-Fu internationalisation!
--Sven
2000-02-27 19:35:39 +00:00