diff --git a/anypaper/anypaper-2.4-1-x86_64.pkg.tar.xz b/anypaper/anypaper-2.4-1-x86_64.pkg.tar.xz new file mode 100644 index 0000000..bb4d2f3 Binary files /dev/null and b/anypaper/anypaper-2.4-1-x86_64.pkg.tar.xz differ diff --git a/anypaper/anypaper-2.4-1.src.tar.gz b/anypaper/anypaper-2.4-1.src.tar.gz new file mode 100644 index 0000000..15c04d9 Binary files /dev/null and b/anypaper/anypaper-2.4-1.src.tar.gz differ diff --git a/anypaper/anypaper-2.4.tar.gz b/anypaper/anypaper-2.4.tar.gz new file mode 100644 index 0000000..d550b82 Binary files /dev/null and b/anypaper/anypaper-2.4.tar.gz differ diff --git a/anypaper/pkg/anypaper/.MTREE b/anypaper/pkg/anypaper/.MTREE new file mode 100644 index 0000000..1ff225e Binary files /dev/null and b/anypaper/pkg/anypaper/.MTREE differ diff --git a/anypaper/pkg/anypaper/.PKGINFO b/anypaper/pkg/anypaper/.PKGINFO new file mode 100644 index 0000000..5164772 --- /dev/null +++ b/anypaper/pkg/anypaper/.PKGINFO @@ -0,0 +1,26 @@ +# Generated by makepkg 4.1.2 +# using fakeroot version 1.20.2 +# Sat Dec 13 05:29:56 UTC 2014 +pkgname = anypaper +pkgver = 2.4-1 +pkgdesc = Frontend for feh and other wallpaper setting tools. +url = http://anypaper.sourceforge.net +builddate = 1418448596 +packager = Unknown Packager +size = 221184 +arch = x86_64 +license = GPL +depend = gtk2 +depend = libpng +depend = feh +makedepend = automake +makedepend = autoconf +makepkgopt = strip +makepkgopt = docs +makepkgopt = !libtool +makepkgopt = !staticlibs +makepkgopt = emptydirs +makepkgopt = zipman +makepkgopt = purge +makepkgopt = !upx +makepkgopt = !debug diff --git a/anypaper/pkg/anypaper/usr/bin/anypaper b/anypaper/pkg/anypaper/usr/bin/anypaper new file mode 100755 index 0000000..b4f084e Binary files /dev/null and b/anypaper/pkg/anypaper/usr/bin/anypaper differ diff --git a/anypaper/pkg/anypaper/usr/share/anypaper/anypaper.png b/anypaper/pkg/anypaper/usr/share/anypaper/anypaper.png new file mode 100644 index 0000000..ccd19c2 Binary files /dev/null and b/anypaper/pkg/anypaper/usr/share/anypaper/anypaper.png differ diff --git a/anypaper/pkg/anypaper/usr/share/anypaper/anypaper_v1.png b/anypaper/pkg/anypaper/usr/share/anypaper/anypaper_v1.png new file mode 100644 index 0000000..8473932 Binary files /dev/null and b/anypaper/pkg/anypaper/usr/share/anypaper/anypaper_v1.png differ diff --git a/anypaper/pkg/anypaper/usr/share/anypaper/noimage.png b/anypaper/pkg/anypaper/usr/share/anypaper/noimage.png new file mode 100644 index 0000000..1bafbe6 Binary files /dev/null and b/anypaper/pkg/anypaper/usr/share/anypaper/noimage.png differ diff --git a/anypaper/pkg/anypaper/usr/share/gtk-doc/html/anypaper/anypaper-anypaper-command.html b/anypaper/pkg/anypaper/usr/share/gtk-doc/html/anypaper/anypaper-anypaper-command.html new file mode 100644 index 0000000..12ebd3a --- /dev/null +++ b/anypaper/pkg/anypaper/usr/share/gtk-doc/html/anypaper/anypaper-anypaper-command.html @@ -0,0 +1,109 @@ + + +
+ +![]() |
+![]() |
+![]() |
+anypaper Reference Manual | +![]() |
+
---|---|---|---|---|
+Top + | + Description + |
+#include <anypaper_preview.h> + +#define LICENSE +void show_version_and_exit (+void
); +void show_license_and_exit (void
); +void anypaper_command_load (AnypaperParameters *parameters
); +
+Set of function that controls the parameters passed by the command line and the behavior of anyPaper related to them. +
+void show_version_and_exit (void
);
++shows the version of anyPaper and exits +
+void show_license_and_exit (void
);
++shows the version of anyPaper and the content of LICENSE and exits +
+void anypaper_command_load (AnypaperParameters *parameters
);
++This function reads the parameters passed by the command line and sets the value to the right member of AnypaperParameters +
+
|
+object that contains the parameters used in anyPaper | +
![]() |
+![]() |
+![]() |
+anypaper Reference Manual | +![]() |
+
---|---|---|---|---|
+Top + | + Description + | + Object Hierarchy + |
+#include <anypaper_image.h> + + AnypaperImagePrivate; +struct AnypaperImage; +gboolean anypaper_image_make (+AnypaperImage *image
, +AnypaperParameters *parameters
); +void anypaper_image_move (AnypaperImage *image
, +AnypaperParameters *parameters
); +
+This application class generates the images used by anyPaper +
+
+The images present in AnypaperImage are created by anypaper_image_move()
using the parameters passed to function and images previously created by anypaper_image_make()
. The anypaper_image_make()
function modifies some parameters passed by AnypaperParameters (mainly positionx and positiony, for indicating the range allowed for the variables) so they must be updated.
+
struct AnypaperImage { + GdkPixbuf *image; + GdkPixbuf *preview; +}; ++
+Contains the generated images used by the program +
+ +gboolean anypaper_image_make (+AnypaperImage *image
, +AnypaperParameters *parameters
);
+Generate a GdkPixbuf background and a GdkPixbuf base image with the parameters selected in AnypaperParameters. +
+
|
+a AnypaperImage + | +
|
+a AnypaperParameters + | +
Returns : |
+
+TRUE if the image file is successfully opened, FALSE if an error occurs |
+
void anypaper_image_move (+AnypaperImage *image
, +AnypaperParameters *parameters
);
+Generate the GdkPixbuf image and the GdkPixbuf preview present in AnypaperImage struct with the parameters selected in AnypaperParameters and the images created by anypaper_image_make()
+
|
+a AnypaperImage + | +
|
+a AnypaperParameters + | +
![]() |
+![]() |
+![]() |
+anypaper Reference Manual | +![]() |
+
---|---|---|---|---|
+Top + | + Description + | + Object Hierarchy + |
+#include <anypaper_parameters.h> + + AnypaperParametersPrivate; +struct AnypaperParameters; +void anypaper_parameters_position_test (+AnypaperParameters *parameters
, +gint rangex
, +gint rangey
, +gint positionx
, +gint positiony
); +void anypaper_parameters_load (AnypaperParameters *parameters
, +gchar *filename
); +void anypaper_parameters_write (AnypaperParameters *parameters
, +gchar *lastWallpaperFile
, +gchar *rcFile
); +
+This application class manipulates the parameters used in anyPaper, also loads and saves configuration files +
+typedef struct _AnypaperParametersPrivate AnypaperParametersPrivate;+
+
+struct AnypaperParameters { + gchar *file; + gint style; + gint positionx; + gint positiony; + gdouble scalex; + gdouble scaley; + gint width; + gint height; + gchar *background; + gchar *command; + gchar *defaultfile; + GdkInterpType interpolation; + gint jpegQuality; + gint pngCompression; +}; ++
+Contains the parameters used to build the images created by anyPaper +
++ | filemane of source image | +
+ | selected style | +
+ | position of image in x direction | +
+ | position of image in y direction | +
+ | scale factor in x direction | +
+ | scale factor in y direction | +
+ | width of image | +
+ | height of image | +
+ | background color | +
+ | command line used for setting the wallpaper | +
+ | default file for saving the built wallpaper | +
+ | type of interpolation used | +
+ | quality parameter for JPEG files | +
+ | compression parameter for PNG files | +
void anypaper_parameters_position_test (+AnypaperParameters *parameters
, +gint rangex
, +gint rangey
, +gint positionx
, +gint positiony
);
+Sets the new position values if they are valid. +
+
|
+a AnypaperParameters + | +
|
+half of the displacement allowed in x direction | +
|
+half of the displacement allowed in y direction | +
|
+the selected position on x position | +
|
+the selected position on x position | +
void anypaper_parameters_load (+AnypaperParameters *parameters
, +gchar *filename
);
+Sets the values of parameters on file in AnypaperParameters. +
+
|
+a AnypaperParameters + | +
|
+name of file with the parameters to be loaded | +
void anypaper_parameters_write (+AnypaperParameters *parameters
, +gchar *lastWallpaperFile
, +gchar *rcFile
);
+Saves the values of parameters in AnypaperParameters on file. +
+
|
+a AnypaperParameters + | +
|
+name of file to be written with the lastwallpaper parameters in AnypaperParameters + | +
|
+name of file to be written with the resource parameters in AnypaperParameters + | +
![]() |
+![]() |
+![]() |
+anypaper Reference Manual | +![]() |
+
---|---|---|---|---|
+Top + | + Description + | + Object Hierarchy + |
+#include <anypaper_preview.h> + + AnypaperPreviewPrivate; +struct AnypaperPreview; +void anypaper_preview_create (+AnypaperPreview *preview
, +AnypaperParameters *parameters
, +AnypaperImage *image
); +
+The application class that builds a preview window using the images and parameters provide by AnypaperImage and AnypaperParameters. +
+void anypaper_preview_create (+AnypaperPreview *preview
, +AnypaperParameters *parameters
, +AnypaperImage *image
);
+This function builds and shows the preview window +
+
|
+is a AnypaperPreview + | +
|
+contains the parameters used to make the images in AnypaperImage + | +
|
+contains the images created before | +
![]() |
+![]() |
+![]() |
+anypaper Reference Manual | +![]() |
+
---|---|---|---|---|
+Top + | + Description + | + Object Hierarchy + |
+AnypaperWallpapersetter+AnypaperWallpapersetter — creates the wallpapersetter file and detects the wallpapersetter installed + |
++ |
+#include <anypaper_wallpapersetter.h> + + AnypaperWallpapersetterPrivate; +struct AnypaperWallpapersetter; +void anypaper_wallpapersetter_detect (+AnypaperWallpapersetter *wallpapersetter
, +gchar *filename
); +void anypaper_wallpapersetter_file (gchar *wallpapersetterFile
); +
+This application class creates the wallpapersetter file and detects the wallpapersetter installed +
++This application class detects the wallpapersetter listed in wallpapersetter file installed and stores this information in two lists, one for the wallpapersetter found and the other for the command (normally the fullscreen command). This class also creates the wallpapersetterfile that contains definitions for known wallpapersetters and the command used to set the wallpaper. +
+typedef struct _AnypaperWallpapersetterPrivate AnypaperWallpapersetterPrivate;+
+
+struct AnypaperWallpapersetter { + GList *wallpapersetter; + GList *command; +}; ++
+Contains a list of wallpapersetter found and a list of commands used for them +
+ +void anypaper_wallpapersetter_detect (+AnypaperWallpapersetter *wallpapersetter
, +gchar *filename
);
+Generate a list of found wallpapersetters and other for the associated commands. +
+
|
+a AnypaperWallpapersetter + | +
|
+file that contains the wallpapersetters command definition | +
![]() |
+![]() |
+![]() |
+anypaper Reference Manual | +![]() |
+
---|---|---|---|---|
+Top + | + Description + | + Object Hierarchy + |
+AnypaperWindow+AnypaperWindow — builds the user interface and controls the operation of anyPaper + |
++ |
+#include <anypaper_window.h> + + AnypaperWindowPrivate; +struct AnypaperWindow; +void anypaper_window_set_position_range (+AnypaperWindow *window
, +gint rangex
, +gint rangey
); +void anypaper_window_create (AnypaperWindow *window
); +
+The application class that builds the user interface and controls the operation of anyPaper. This class also links the objects required for the implementation of the anyPaper +
+struct AnypaperWindow { + AnypaperParameters *parameters; + AnypaperImage *image; + AnypaperPreview *preview; + AnypaperWallpapersetter *wallpapersetter; +}; ++
+Contains the necessary objects for operation of the anyPaper +
+AnypaperParameters * |
+is a AnypaperParameters + | +
AnypaperImage * |
+is a AnypaperImage + | +
AnypaperPreview * |
+is a AnypaperPreview + | +
AnypaperWallpapersetter * |
+is a AnypaperWallpapersetter; | +
void anypaper_window_set_position_range (+AnypaperWindow *window
, +gint rangex
, +gint rangey
);
+Sets the range of displacement allowed for the image. +
+
|
+the AnypaperWindow + | +
|
+half of the displacement allowed in x direction | +
|
+half of the displacement allowed in y direction | +
void anypaper_window_create (AnypaperWindow *window
);
++Creates and shows the AnypaperWindow. +
+
|
+the AnypaperWindow + | +
![]() |
++ | ![]() |
+anypaper Reference Manual | ++ |
---|---|---|---|---|
+C + | + I + | + L + | + P + | + S + | + W + |
![]() |
++ | ![]() |
+anypaper Reference Manual | +![]() |
+
---|
anypaper Reference Manual |
---|
+ for anyPaper 2.4. + The latest version of this documentation can be found on-line at + http://anypaper.sourceforge.net/anypaper/. +
![]() |
++ | ![]() |
+anypaper Reference Manual | +![]() |
+
---|
+ GObject + AnypaperWallpapersetter + AnypaperPreview + AnypaperParameters + AnypaperImage + AnypaperWindow ++