This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <sys/sysctl.h> | |
#include <inttypes.h> | |
bool device_enabled(char *); | |
char *find_device(void); | |
int get_brightness(char *); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CODE: | |
----- | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <dbus/dbus-glib.h> | |
/* | |
* Test program requesting shutdown to dbus | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* taken from defora */ | |
#include <stdio.h> | |
#include <errno.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
#include <sys/ioctl.h> | |
#include <sys/types.h> | |
#include <sys/envsys.h> | |
#include <fcntl.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ctype.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
/* | |
* | |
* N = [0 ; 25] | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: distrib/sets/lists/base/mi | |
=================================================================== | |
RCS file: /cvsroot/src/distrib/sets/lists/base/mi,v | |
retrieving revision 1.1113 | |
diff -u -r1.1113 mi | |
--- distrib/sets/lists/base/mi 27 Aug 2015 14:04:07 -0000 1.1113 | |
+++ distrib/sets/lists/base/mi 3 Sep 2015 12:19:24 -0000 | |
@@ -84,6 +84,7 @@ | |
./etc/X11/rstart/commands base-x11-root | |
./etc/X11/rstart/commands/x11r6 base-x11-root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/main.c b/main.c | |
index 06ad92b..eec68ae 100644 | |
--- a/main.c | |
+++ b/main.c | |
@@ -122,7 +122,12 @@ main(int argc, char *argv[]) | |
/* NOTREACHED */ | |
} | |
- /* initializations */ | |
+ /* initializations if a correct cmd is entered */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgin.h b/pkgin.h | |
index ab277f4..2299986 100644 | |
--- a/pkgin.h | |
+++ b/pkgin.h | |
@@ -193,6 +193,17 @@ typedef struct Pkglist { | |
SLIST_ENTRY(Pkglist) next; | |
} Pkglist; | |
+/** | |
+ * \struct Pkgdesc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/actions.c b/actions.c | |
index ea80c3d..766486b 100644 | |
--- a/actions.c | |
+++ b/actions.c | |
@@ -465,7 +465,7 @@ pkgin_install(char **opkgargs, uint8_t do_inst) | |
printf("\n"); | |
- if (upgradenum > 0) { | |
+ if (do_inst && upgradenum > 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
# Check xfce package versions against pkgsrc. Produce a markdown table. | |
xfce_site="http://archive.xfce.org/src/xfce/" | |
set -A pkgs "exo garcon gtk-xfce-engine libxfce4ui libxfce4util thunar-desktop-pkg | |
thunar-volman thunar tumbler xfce4-appfinder xfce4-dev-tools xfce4-docs xfce4-panel | |
xfce4-power-manager xfce4-session xfconf xfdesktop xfwm4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
# TODO: Adapt to apps, xfce, art, thunar-plugins | |
xfce_site="http://archive.xfce.org/src/panel-plugins/" | |
set -A plugins "xfce4-battery-plugin xfce4-calculator-plugin xfce4-cddrive-plugin | |
xfce4-cellmodem-plugin xfce4-clipman-plugin xfce4-cpufreq-plugin | |
xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dict-plugin | |
xfce4-diskperf-plugin xfce4-embed-plugin xfce4-equake-plugin |