This file is indexed.

/usr/bin/tp-magic-config is in tuxpaint-dev 1:0.9.22-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 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
#!/bin/sh

# tp-magic-config

# "Tux Paint Magic Config"
# Tool that reports compiler options used when buidling Magic Tool
# shared objects for Tux Paint

# (c) Copyright 2007, by Bill Kendrick
# bill@newbreedsoftware.com
# http://www.tuxpaint.org/

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
# (See COPYING.txt)

# Note: "0.9.22", "0x00000003", "/usr/include/tuxpaint",
# "/usr/lib/tuxpaint/plugins", "/usr/share/doc/tuxpaint/magic-docs" and "/usr/share/tuxpaint" are replaced
# by values in Tux Paint's Makefile, via 'sed', by the 'make tp-magic-config'
# target.

# July 5, 2007 - August 2, 2007


if [ $# -ne 0 ]; then
  if [ $1 = "--version" ]; then
    echo "0.9.22"
    exit
  fi
  if [ $1 = "--apiversion" ]; then
    echo "0x00000003"
    exit
  fi
  if [ $1 = "--cflags" ]; then
    echo `sdl-config --cflags` -I/usr/include/tuxpaint
    exit
  fi
  if [ $1 = "--dataprefix" ]; then
    echo "/usr/share/tuxpaint"
    exit
  fi
  if [ $1 = "--localdataprefix" ]; then
    echo "$HOME/.tuxpaint/plugins/data"
    exit
  fi
  if [ $1 = "--pluginprefix" ]; then
    echo "/usr/lib/tuxpaint/plugins"
    exit
  fi
  if [ $1 = "--localpluginprefix" ]; then
    echo "$HOME/.tuxpaint/plugins"
    exit
  fi
  if [ $1 = "--plugindocprefix" ]; then
    echo "/usr/share/doc/tuxpaint/magic-docs"
    exit
  fi
fi

echo "Usage: tp-magic-config [--apiversion | --version | --cflags | --pluginprefix | --plugindocprefix | --dataprefix]"